package b3.model
{
	import flash.events.Event;

	public class ModelEvent extends Event
	{
		public static const REFRESH:String = "refresh";
		public static const SWITCH_PLAYER:String = "switchPlayer";
		public static const ATTACK_AREA:String = "attackArea";
		public static const REFRESH_BUILDING:String = "refreshBuilding";
		public static const ADD_BUILDING:String = "addBuilding";
		public static const REMOVE_BUILDING:String = "removeBuilding";
		public static const ATTACK_BUILDING:String = "attackBuilding";
		public static const REFRESH_FRIEND_LIST:String = "refreshFriendList";
		public static const REFRESH_RANK_LIST:String = "refreshRankList";
		public static const CHECK_MATCH_QUALIFICATION_COMPLETE:String = "checkMatchQualificationComplete";
		public static const REFRESH_MATCH_RANK_LIST:String = "refreshMatchRankList";
		public static const REFRESH_MATCH_TOP3:String = "refreshMatchTop3";
		public static const TASK_FINISH:String = "taskFinish";
		public static const FETCH_NATIONAL_DAILY_PRESENT:String = "fetchNationalDailyPresent";
		public static const SEND_MAIL_COMPLETE:String = "sendMailComplete";
		public static const LOAD_MAIL_COMPLETE:String = "loadMailComplete";
		public static const LOGIN_COMPLETE:String = "loginComplete";
		public static const OBJECT_BALANCE:String = "objectBalance";
		public static const GET_SOCIAL_INFO:String = "getSocialInfo";
		public static const GET_SOCIAL_INFO_OF_BUILDING:String = "getSocialInfoOfBuilding";
		public static const SET_SOCIAL_MESSAGE_VIEWED:String = "setSocialMessageViewed";
		public static const COLLECT_RENT_COMPLETE:String = "collectRentComplete";
		public static const PURCHASE_COMPLETE:String = "purchaseComplete";
		public static const GET_WORLD_RECORDS:String = "getWorldRecords";
		public static const CHECK_AND_BUILD_COMPLETE:String = "checkAndBuildComplete";
		public static const CARD_EXCLUSION:String = "cardExclusion";
		public static const CARD_USE_FAIL:String = "cardUseFail";
		public static const CARD_USE_SUCCESS:String = "cardUseSuccess";
		
		public var data:Object;
		
		public function ModelEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		
	}
}